#ifndef MEMBER_H
#define MEMBER_H


#include <time.h>

typedef enum
{
	female = 1,
	male,
	unknow,
}sex;


typedef enum
{
	cika = 1,
	yueka,
	jika,
	nianka,

}member_type;


//声明会员信息结构体类型
typedef struct
{
	unsigned int mid;
	char card_num[11];
	char name[31];
	char phone[12];
	sex s;
	member_type mt;
	time_t regtime;
	int remain_cnt;
	time_t expire_time;
	int delete_state;
}member_info;


void member_reg(void);
void member_show(void);
void member_del(void);
void member_list_all(void);
int verify_admin_password(void);
void member_consume(void);  
void member_modify(void);  // 修改会员信息函数
#endif


